package com.juzipi.demo.simplefactory.pizzastore;

import com.juzipi.demo.simplefactory.pizzastore.order.OrderPizza;
import com.juzipi.demo.simplefactory.pizzastore.order.SimpleFactory;

//相当于一个客户端，发出订购任务
public class pizzaStore {

    public static void main(String[] args) {
//        OrderPizza orderPizza = new OrderPizza();
        //使用简单工厂模式
        new OrderPizza(new SimpleFactory());
        System.out.println("退出程序");

    }


}
